package cj.web.lkg.controllers;

import java.util.Map;

import javax.servlet.http.HttpServletRequest;

import net.paoding.rose.web.annotation.Path;
import net.paoding.rose.web.annotation.rest.Get;
import net.paoding.rose.web.var.Model;

@Path("/shareNews")
public class ShareNewsController extends BaseController{

	@Get("index")  //商品列表
	public String index(Model model, HttpServletRequest request) throws Exception{
		Map<String, String> config = getConfigSign(request);
		model.add("Config",config);
		
		return "/views/8Version1/index.vm";
	}
	
	@Get("mzc")  //商品列表
	public String mzc(Model model, HttpServletRequest request) throws Exception{
		Map<String, String> config = getConfigSign(request);
		model.add("Config",config);
		
		return "/views/8Version1/mzc.vm";
	}
	
	@Get("qh")  //商品列表
	public String qh(Model model, HttpServletRequest request) throws Exception{
		Map<String, String> config = getConfigSign(request);
		model.add("Config",config);
		
		return "/views/8Version1/qh.vm";
	}
	
	@Get("xxz")  //商品列表
	public String xxz(Model model, HttpServletRequest request) throws Exception{
		Map<String, String> config = getConfigSign(request);
		model.add("Config",config);
		
		return "/views/8Version1/xxz.vm";
	}
}
